package cn.edu.scau.cmi.liuyonglin.chapter8;

public class Goods {
	boolean isDanger;
	String name;
	Goods(String name){
		this.name = name;
	}
	public void setIsDange(boolean boo) {
		isDanger =boo;
	}
	public boolean isDanger() {
		return isDanger;
	}
	public String getName() {
		return name;
	}

}
